
<!--<div class="list-group" id="myTab" ng-controller="ListTypeCtrl" >-->
    <!--<a href="javascript:void(0)" class="list-group-item active">类别</a>-->

    <!--<a ui-sref="list({type:0})" class="list-group-item">全部</a>-->
    <!--<a class="list-group-item" ng-repeat="list in lists"-->
       <!--ui-sref="list({type:{{list.id}}})">-->
        <!--{{list.typename}}</a>-->
<!--</div>-->

<nav class="navbar navbar-inverse" id="myTab" ng-controller="ListTypeCtrl" style="margin-top:20px;">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="javascript:void(0)">angular增删改查</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <!--<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>-->
                <li ui-sref-active="active"><a ui-sref="list({type:0})">全部</a></li>
                <li ui-sref-active="active" ng-repeat="list in lists">
                    <a ui-sref="list({type:{{list.id}}})">{{list.typename}}</a>
                </li>

            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button"
                       aria-haspopup="true" aria-expanded="false">类别 <span class="caret"></span></a>
                    <ul class="dropdown-menu" style="min-width:72px;">
                        <li><a ui-sref="list({type:0})">全部</a></li>
                        <li><a ui-sref="list({type:1})">前端</a></li>
                        <li><a ui-sref="list({type:2})">安卓</a></li>
                        <li><a ui-sref="list({type:3})">IOS</a></li>
                    </ul>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right"><clock style="color:#999;line-height:50px;margin-right:50px;"></clock></ul>

        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
    <div class="one t" ng-click="toppp()">顶部</div>
    <div class="one b" ng-click="bottt()">底部</div>
</nav>
